<!DOCTYPE html>

<!--suppress ALL -->
<html class="theme-next pisces use-motion">


<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">


    <link href="css/jquery.fancybox.css" rel="stylesheet" type="text/css">
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/css" rel="stylesheet" type="text/css">
    <link href="css/main.css" rel="stylesheet" type="text/css">



    <meta name="description">
    <meta property="og:type" content="website">
    <meta property="og:title" content="${user.name}">
    <meta property="og:url" content="http://yoursite.com/index.html">

    <meta property="og:description">
    <meta name="twitter:card" content="summary">
    <meta name="twitter:title" content="${user.name}">
    <meta name="twitter:description">


    <script type="text/javascript" id="hexo.configuration">
        var NexT = window.NexT || {};
        var CONFIG = {
            scheme: 'Pisces',
            sidebar: {"position": "left", "display": "post"},
            fancybox: true,
            motion: true,
            duoshuo: {
                userId: 0,
                author: '博主'
            }
        };
    </script>

    <title> ${user.name}</title>
    <style type="text/css">.fancybox-margin {
        margin-right: 17px;
    }</style>
</head>
<body itemscope="" itemtype="http://schema.org/WebPage" >


<div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
        <div class="header-inner">
            <div class="site-meta ">


                <div class="custom-logo-site-title">
                    <a href="index" class="brand" rel="start" style="opacity: 1;">
                        <span class="logo-line-before"><i></i></span>
                        <span class="site-title" style="opacity: 1; top: 0px;">${user.name}</span>
                        <span class="logo-line-after"><i></i></span>
                    </a>
                </div>
                <p class="site-subtitle" style="opacity: 1; top: 0px;"></p>
            </div>

            <div class="site-nav-toggle">
                <button>
                    <span class="btn-bar"></span>
                    <span class="btn-bar"></span>
                    <span class="btn-bar"></span>
                </button>
            </div>

            <nav class="site-nav">


                <ul id="menu" class="menu">


                    <li class="menu-item menu-item-home" style="opacity: 1; transform: translateY(0px);">
                        <a href="index" rel="section">

                            <span class="glyphicon glyphicon-home"></span> <br>

                            首页
                        </a>
                    </li>


                    <li class="menu-item menu-item-archives" style="opacity: 1; transform: translateY(0px);">
                        <a href="list" rel="section">

                            <span class="glyphicon glyphicon-list"></span> <br>

                            归档
                        </a>
                    </li>

                    <li class="menu-item menu-item-about" style="opacity: 1; transform: translateY(0px);">
                        <a href="writeBlog?pid=0&uid=${user.uid}" rel="section">

                            <span class="glyphicon glyphicon-paperclip"></span> <br>
                            个人空间
                        </a>
                    </li>

                </ul>
            </nav>
        </div>
    </header>

    <main id="main" class="main">
        <div class="main-inner">
            <div class="content-wrap col-xs-12">
                <div  class="content">
                    <div id="posts" class="posts-expand">
                        <h1 class="post-title" itemprop="name headline">${daily.title}</h1>
                        <div class="post-meta">
                            <span class="post-meta-item-text">发表于</span>
                            <time itemprop="dateCreated" datetime="2016-06-17T13:23:47+08:00" content="2016-06-17">
                               ${daily.time}
                            </time>
                        </div>

                        <article   class="post post-type-normal" style="opacity: 1; display: block; transform: translateY(0px);">
                            <div id="content" style="word-wrap: break-word;" class="col-xs-12">${daily.content}</div>
                        </article>

                        <div class="post-spread">

                        </div>
                    </div>


                </div>


                <div class="comments" id="comments">

                </div>


            </div>


            <div class="sidebar-toggle">
                <div class="sidebar-toggle-line-wrap">
                    <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
                    <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
                    <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
                </div>
            </div>

            <aside id="sidebar" class="sidebar" style="margin-top: 268px; display: block;">
                <div class="sidebar-inner affix-top">


                    <section class="site-overview sidebar-panel sidebar-panel-active"
                             style="opacity: 1; display: block; transform: translateY(0px);">
                        <div class="site-author motion-element" itemprop="author" itemscope=""
                             itemtype="http://schema.org/Person">
                            <#if user.img ??>
                                <img class="site-author-image" itemprop="image" src="${user.img}"
                                     alt="${user.name}">
                            <#else>

                                <img class="site-author-image" itemprop="image" src="images/avatar.gif"
                                     alt="${user.name}">
                            </#if>
                            <p class="site-author-name" itemprop="name">${user.name}</p>
                            <p class="site-description motion-element" itemprop="description"></p>
                        </div>
                        <nav class="site-state motion-element">
                            <div class="site-state-item site-state-posts">
                                <a href="index">
                                    <span class="site-state-item-count">${user.daily}</span>
                                    <span class="site-state-item-name">日志</span>
                                </a>
                            </div>


                        </nav>


                        <div class="links-of-author motion-element">

                        </div>
                    </section>


                    <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active"
                             style="opacity: 0; transform: translateY(0px); display: none;">
                        <div class="post-toc" style="max-height: 522px; width: calc(100% + 17px);">


                            <div class="post-toc-content">
                                <ol class="nav">
                                    <li class="nav-item nav-level-2"><a class="nav-link"
                                                                        href="index"><span
                                            class="nav-number">1.</span> <span class="nav-text">Quick Start</span></a>
                                        <ol class="nav-child">
                                            <li class="nav-item nav-level-3"><a class="nav-link"
                                                                                href="index"><span
                                                    class="nav-number">1.1.</span> <span class="nav-text">Create a new post</span></a>
                                            </li>
                                            <li class="nav-item nav-level-3"><a class="nav-link"
                                                                                href="index"><span
                                                    class="nav-number">1.2.</span> <span
                                                    class="nav-text">Run server</span></a></li>
                                            <li class="nav-item nav-level-3"><a class="nav-link"
                                                                                href="index"><span
                                                    class="nav-number">1.3.</span> <span class="nav-text">Generate static files</span></a>
                                            </li>
                                            <li class="nav-item nav-level-3"><a class="nav-link"
                                                                                href="index"><span
                                                    class="nav-number">1.4.</span> <span class="nav-text">Deploy to remote sites</span></a>
                                            </li>
                                        </ol>
                                    </li>
                                </ol>
                            </div>

                        </div>
                    </section>


                </div>
            </aside>


        </div>
    </main>

    <footer id="footer" class="footer">
        <div class="footer-inner">
            <div class="copyright">

                ©
                <span itemprop="copyrightYear">2016</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
                <span class="author" itemprop="copyrightHolder">knife</span>
            </div>
        </div>
    </footer>

    <div class="back-to-top">
        <span class="glyphicon glyphicon-arrow-up"></span>
    </div>
</div>

<script type="text/javascript">
    if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
        window.Promise = null;
    }


</script>


<script type="text/javascript" src="js/index.js"></script>


<script type="text/javascript" src="js/fastclick.min.js"></script>


<script type="text/javascript" src="js/jquery.lazyload.js"></script>


<script type="text/javascript" src="js/velocity.min.js"></script>


<script type="text/javascript" src="js/velocity.ui.min.js"></script>


<script type="text/javascript" src="js/jquery.fancybox.pack.js"></script>


<script type="text/javascript" src="js/utils.js"></script>

<script type="text/javascript" src="js/motion.js"></script>


<script type="text/javascript" src="js/affix.js"></script>

<script type="text/javascript" src="js/pisces.js"></script>


<script type="text/javascript" src="js/bootstrap.js"></script>

<script src="js/markdown.js"></script>

</body>
</html>
<script type="text/javascript">
    window.onload = function () {
        document.getElementById('content').innerHTML = markdown.toHTML(document.getElementById('content').innerHTML);
    }
</script>

